package com.cnap.multiclouldmgmt.controller;

import com.cnap.multiclouldmgmt.MulticlouldmgmtApplicationTests;
import com.cnap.multiclouldmgmt.model.vm.VmCreateModel;
import com.cnap.multiclouldmgmt.service.VmResourceService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.mock.mockito.MockBean;

class VmControllerTest extends MulticlouldmgmtApplicationTests {

    @MockBean
    private VmResourceService vmResourceService;

    @Autowired
    private VmController vmController;

    @Test
    void createVmResource() {

        VmCreateModel vmCreateModel = new VmCreateModel();
        vmController.createVmResource(vmCreateModel);

    }
}